package com.dingwei.superiordiary.ui.activity;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.dingwei.superiordiary.R;
import com.jude.easyrecyclerview.adapter.RecyclerArrayAdapter;
import com.lihao.baselibrary.base.BaseActivity;
import com.zhouwei.mzbanner.MZBannerView;

/**
 * Created time 2018/1/30.
 * Creator 南柯一梦丶 on
 * Personal signature 余生还长 何必慌张
 * Page description :
 */

public class UserCenterHeaderView implements RecyclerArrayAdapter.ItemView{

    public View view;
    public ImageView imgContent;
    public ImageView imgHead;
    public TextView tvNickName;
    public TextView tvLevel;
    public TextView btnOperating;
    public TextView tvIdiograph;
    public LinearLayout postLayout;
    public TextView tvPost;
    public LinearLayout carePersonLayout;
    public TextView tvCarePerson;
    public LinearLayout careMeLayout;
    public TextView tvCareMe;
    public LinearLayout praiseLayout;
    public TextView tvPraise;
    public TextView tv_posts_name;
    public TextView tv_care_name;
    public TextView tv_care_person_name;
    @Override
    public View onCreateView(ViewGroup parent) {
        return view;
    }

    @Override
    public void onBindView(View headerView) {

    }

    public UserCenterHeaderView(){
        view = LayoutInflater.from(BaseActivity.context).inflate(R.layout.user_center_header, null);
   

        imgContent = (ImageView) view.findViewById(R.id.img_content);
        imgHead = (ImageView) view.findViewById(R.id.img_head);
        tvNickName = (TextView) view.findViewById(R.id.tv_nick_name);
        tvLevel = (TextView) view.findViewById(R.id.tv_level);
        btnOperating = (TextView) view.findViewById(R.id.btn_operating);
        tvIdiograph = (TextView) view.findViewById(R.id.tv_idiograph);
        postLayout = (LinearLayout) view.findViewById(R.id.post_layout);
        tvPost = (TextView) view.findViewById(R.id.tv_post);
        carePersonLayout = (LinearLayout) view.findViewById(R.id.care_person_layout);
        tvCarePerson = (TextView) view.findViewById(R.id.tv_care_person);
        careMeLayout = (LinearLayout) view.findViewById(R.id.care_me_layout);
        tvCareMe = (TextView) view.findViewById(R.id.tv_care_me);
        praiseLayout = (LinearLayout) view.findViewById(R.id.praise_layout);
        tvPraise = (TextView) view.findViewById(R.id.tv_praise);
        tv_posts_name = (TextView) view.findViewById(R.id.tv_posts_name);
        tv_care_name = (TextView) view.findViewById(R.id.tv_care_name);
        tv_care_person_name = (TextView) view.findViewById(R.id.tv_care_person_name);

    }
}
